package com.gametheoryserver.gui.sum.state;

import com.gametheoryserver.gui.sum.PlaySumGame;

/**
 * @author Tomas Barak
 * 
 */
public class PlaySumGameStateHolder {

	public static final ISumGameState ADD_GAME_STATE = new AddGameState();
	public static final ISumGameState REMOVE_GAME_STATE = new RemoveGameState();
	public static final ISumGameState PLAYER_ONE_STATE = new PlayerOneState();
	public static final ISumGameState PLAYER_TWO_STATE = new PlayerTwoState();
	public static final ISumGameState COMPUTER_ONE_STATE = new ComputerOneState();
	public static final ISumGameState COMPUTER_TWO_STATE = new ComputerTwoState();
	public static final ISumGameState SHOW_STRATEGY_STATE = new ShowStrategyState();
	public static final ISumGameState HIDE_STRATEGY_STATE = new HideStrategyState();
	public static final ISumGameState REMOVE_ALL_GAMES_STATE = new RemoveAllGamesState();
	public static final ISumGameState GAME_CHANGE_STATE = new GameChangeState();

	public static void setState(ISumGameState sumState, PlaySumGame playSum) {
		sumState.refreshGame(playSum);
	}
}
